// class GlobalLoadingView extends

import 'package:flutter/material.dart';

/// 全局刷新的view
Widget globalLoadingView({
  double? value,
  Color? backgroundColor = const Color(0xFFEEEEEE),
  Color? color,
  Animation<Color?>? valueColor =
      const AlwaysStoppedAnimation(Colors.lightBlue),
  double strokeWidth = 4.0,
  String? semanticsLabel,
  String? semanticsValue,
}) {
  return CircularProgressIndicator(
    value: value,
    backgroundColor: backgroundColor,
    color: color,
    valueColor: valueColor,
    strokeWidth: strokeWidth,
    semanticsLabel: semanticsLabel,
    semanticsValue: semanticsValue,
  );
}
